﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.View
{
    public class VStockMaterial
    {
        #region vmaterial
        public Guid Id { get; set; }

        /// <summary>
        /// 编码
        /// [新建需要输入]
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid? BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid? StationId { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 成本
        /// </summary>
        public decimal Cost { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }

        /// <summary>
        /// 品牌名称
        /// </summary>
        public string BrandName { get; set; }

        /// <summary>
        /// 单位Id
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }

        /// <summary>
        /// 快捷码
        /// </summary>
        public string QuickCode { get; set; }

        /// <summary>
        /// 条形码
        /// </summary>
        public string Barcode { get; set; }

        /// <summary>
        /// 提成
        /// </summary>
        public decimal? SalesCommission { get; set; }

        /// <summary>
        /// 提成类型
        /// </summary>
        public int? SalesCommissionType { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        public int Status { get; set; }

        public DateTime CreatedTime { get; set; }

        public string Creator { get; set; }
        #endregion
        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal StockCount { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public Guid WarehouseId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
    }
}
